//
//  RowItem.h
//  halfSweat
//
//  Created by 甘伟杰 on 16/5/14.
//  Copyright © 2016年 ganweijie. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, BTCellType) {
    BTCellTypeDefault,
    BTCellTypeAD,
    BTCellTypeSeparator,
};

@interface RowItem : NSObject

/** 单元格类型 */
@property (assign, nonatomic) BTCellType type;
/**************** SectionOne 模型数据 ***************/
/** 左图标 */
@property (weak, nonatomic) UIImage *leftImage;
/** 左标题 */
@property (strong, nonatomic) NSString *leftTitle;
/** 右图标 */
@property (weak, nonatomic) UIImage *rightImage;
/** 右标题 */
@property (strong, nonatomic) NSString *rightTitle;

/** SectionOne 快速创建模型 */
+ (__kindof RowItem *) rowItemWihtLeftImage:(UIImage *)leftImage  leftTitle:(NSString *)leftTitle rightImage:(UIImage *)rightImage rightTitle:(NSString *)rightTitle;

/** 左图URL */
@property (strong, nonatomic) NSURL *leftImageURL;
/** 右图URL */
@property (strong, nonatomic) NSURL *rightImageURL;
/** SectionOne 快速创建模型 */
+ (__kindof RowItem *) rowItemWihtLeftImageURL:(NSURL *)leftImageURL  leftTitle:(NSString *)leftTitle rightImageURL:(NSURL *)rightImageURL rightTitle:(NSString *)rightTitle;

/**************** SectionTwo 模型数据 ***************/
/** 图标 */
@property (weak, nonatomic) UIImage *iconImage;
/** 图标URL */
@property (strong, nonatomic) NSURL *iconImageURL;
/** 标题 */
@property (strong, nonatomic) NSString *cellTitle;

/** SectionTwo 快速创建模型 */
+ (__kindof RowItem *) rowItemWihtImage:(UIImage *)iconImage cellTitle:(NSString *)cellTitle;

/** SectionTwo 快速创建模型 */
+ (__kindof RowItem *) rowItemWihtImageURL:(NSURL *)iconImageURL cellTitle:(NSString *)cellTitle;
@end
